
/**		
 * 
 *	uk.co.lmfm.guppy.view.components.project.ProjectConfigView
 *	
 *	@version 1.00 | Jan 22, 2010
 *	@author Justin Windle
 *  
 **/
 
package uk.co.lmfm.guppy.view.components.project 
{
	import com.bit101.components.CheckBox;

	import uk.co.lmfm.guppy.view.components.core.IViewComponent;

	/**
	 * ProjectConfigView
	 */
	public class ProjectConfigView extends ProjectUIPanel implements IViewComponent 
	{
		//	----------------------------------------------------------------
		//	PRIVATE MEMBERS
		//	----------------------------------------------------------------

		private var _pureMVC : CheckBox = new CheckBox();

		//	----------------------------------------------------------------
		//	CONSTRUCTOR
		//	----------------------------------------------------------------

		public function ProjectConfigView()
		{
			super();
			
			_pureMVC.label = "Use PureMVC Framework";
			
			addChild(_pureMVC);
		}

		//	----------------------------------------------------------------
		//	PROTECTED METHODS
		//	----------------------------------------------------------------

		override protected function resize() : void
		{
			super.resize();
			
			_pureMVC.x = _pureMVC.y = 10;
			
			height = 30;
		}

		//	----------------------------------------------------------------
		//	PUBLIC ACCESSORS
		//	----------------------------------------------------------------

		public function get isPureMVC() : Boolean
		{
			return _pureMVC.selected;
		}
	}
}
